<!--title-->
<div class="mnav1">
	<div class="m_nav">
		<div class="nav_left">
			<em class="home_icon"><?=$this->sys_name?></em><span>&nbsp;&gt;&nbsp;</span><font><?=$this->title?></font>
		</div>
	</div>
</div>

<div class="content-table">
<div class="content-table-title"><?=$this->title?></div>
<br />
<?php if($this->msg):?>
<div class="replace"><?=$this->msg?></div>
<br />
<?php endif;?>
<div align="center"><a href="/others/add-staff"><font color="green"><b>【新增下级权限】</b></font></a></div>
<br />
<table>
  <tr>
    <th>姓名</th>
    <th>职位</th>
    <th>下级人数</th>
    <th>操作</th>
  </tr>
  <?php if(!empty($this->data)):?>
  <?php foreach($this->data as $emp_id => $data):?>
  <tr>
    <td><?=$data["emp_name"]?></td>
	<td><?=$data["title"]?></td>
	<td><?=$data["staff_ct"]?></td>
	<td>
		<button onclick="window.location.href='/others/edit-staff/emp_id/<?=$emp_id?>'">编辑</button>
	</td>
  </tr>
  <?php endforeach;?>
  <?php endif;?>
</table>

<br /><br /><br />